package cn.wxz1997.permission.service;

import cn.wxz1997.permission.dto.RoleForm;
import cn.wxz1997.permission.model.Role;

import java.util.List;

/**
 * @Description: ${todo}
 * @Author: wxz1997
 * @Date 18-9-2下午2:52
 */
public interface RoleService {
    List<Role> list();

    Role add(RoleForm roleForm);

    Role update(RoleForm roleForm);

    Integer delete(Integer id);
}
